﻿using Sidvall.UI.Dialogs;
using System.Threading.Tasks;

namespace Sidvall.UI.Wpf.Dialogs
{
    public class XamWebSecurityDialogManager : ISecurityDialog
    {
        #region Public Members

        #region LogOnOrOffAsync

        public async Task LogOnOrOffAsync(LogOnDialogContext logOnContext, LogOffDialogContext logOffContext)
        {
            var dialog = new XamWebSecurityDialog();
            await dialog.ShowAsync(logOnContext, logOffContext, SystemContext.Current.MainWindow);
        }

        #endregion

        #region ToString

        public override string ToString()
        {
            return "Dialog - XamWebSecurityDialogManager";
        }

        #endregion

        #endregion
        #region Constructors

        public XamWebSecurityDialogManager()
        {
        }

        #endregion
    }
}
